package com.ruoyi.yljf.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.utils.bean.BeanUtils;
import com.ruoyi.yljf.domain.Classify;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 分类管理对象VO类
 * 
 * @author metaee
 * @date 2025-02-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClassifyVO {

    /** 主键id */
    private Long  id;

    /** 分类名 */
    private String name;

    private List<ClassifyVO2> classifyList;

    public ClassifyVO(Classify classify){
        BeanUtils.copyProperties(classify,this);
    }

}
